package com.hxkj.domain.po;


import java.io.Serializable;
import java.util.List;

/**
 * @author yaosy
 * @create 2018年6月6日
 * @desc 资源树封装类
 **/

public class ResourcesTree implements Serializable{


    private static final long serialVersionUID = 6105036491679605001L;
    private long resourcesId;

    private String filename;

    private double size;

    private Long lastModifiedDate;

    private String resourcesName;

    private String source;

    private int isDirectory;

    private String path;

    private List<ResourcesTree> children;

    private long parentId;

    // 站点id
    private Long siteId;

    //资源文件别名
    private String resourcesAlias;

    public long getResourcesId() {
        return resourcesId;
    }

    public void setResourcesId(long resourcesId) {
        this.resourcesId = resourcesId;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }

    public Long getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Long lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public String getResourcesName() {
        return resourcesName;
    }

    public void setResourcesName(String resourcesName) {
        this.resourcesName = resourcesName;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public int getIsDirectory() {
        return isDirectory;
    }

    public void setIsDirectory(int isDirectory) {
        this.isDirectory = isDirectory;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public List<ResourcesTree> getChildren() {
        return children;
    }

    public void setChildren(List<ResourcesTree> children) {
        this.children = children;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public String getResourcesAlias() {
        return resourcesAlias;
    }

    public void setResourcesAlias(String resourcesAlias) {
        this.resourcesAlias = resourcesAlias;
    }
}
